.class public Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/ImageView;

.field private d:Landroid/widget/LinearLayout;

.field private e:Lcom/waiqin365/lightapp/kehu/b/bb;

.field private f:Landroid/widget/ListView;

.field private g:Ljava/util/ArrayList;

.field private h:Ljava/util/ArrayList;

.field private i:Ljava/util/ArrayList;

.field private j:Z

.field private k:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method private a()V
    .locals 7

    const/4 v6, 0x1

    const/4 v2, 0x0

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmFilterItems"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "filteritems"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->h:Ljava/util/ArrayList;

    new-instance v4, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-direct {v4}, Lcom/waiqin365/base/db/cmfilteritem/a;-><init>()V

    const-string/jumbo v0, "-1"

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->a(Ljava/lang/String;)V

    sget-object v0, Lcom/waiqin365/lightapp/kehu/view/CustomertypepickerMultiModeView;->a:Ljava/lang/String;

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ne v0, v6, :cond_2

    const-string/jumbo v1, "-1"

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    iput-boolean v6, v4, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/bb;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/kehu/b/bb;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->e:Lcom/waiqin365/lightapp/kehu/b/bb;

    return-void

    :cond_2
    iput-boolean v2, v4, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->h:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    move v3, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v5

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iput-boolean v6, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    :cond_3
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_4
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1
.end method

.method private a(Landroid/content/Intent;)V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/view/a/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/view/a/a;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "returnTo"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    iput-object p1, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/Observable;->notifyObservers(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->overridePendingTransition(II)V

    return-void
.end method

.method private b()V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    const v0, 0x7f0c0247

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->d:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0305

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a:Landroid/widget/TextView;

    const v1, 0x7f08072b

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0309

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f0805d3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c01da

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->c:Landroid/widget/ImageView;

    const v0, 0x7f0c02a3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->k:Landroid/widget/TextView;

    const v0, 0x7f0c0133

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->f:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->f:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->e:Lcom/waiqin365/lightapp/kehu/b/bb;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->j:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout$LayoutParams;

    const/high16 v1, 0x420c0000    # 35.0f

    invoke-static {p0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;->setMargins(IIII)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_0
.end method

.method private c()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->f:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-void
.end method

.method private d()Z
    .locals 4

    const/4 v2, 0x0

    const/4 v3, 0x1

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-boolean v0, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    if-eqz v0, :cond_0

    :goto_1
    return v2

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    move v2, v3

    goto :goto_1
.end method

.method private e()V
    .locals 3

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iput-boolean v2, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method private f()Ljava/util/ArrayList;
    .locals 3

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-boolean v0, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    return-object v2
.end method


# virtual methods
.method public onBackPressed()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "cmFilterItems"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a(Landroid/content/Intent;)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a(Landroid/content/Intent;)V

    goto :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "cmFilterItems"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a(Landroid/content/Intent;)V

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a(Landroid/content/Intent;)V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "cmFilterItems"

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->f()Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a(Landroid/content/Intent;)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c01da -> :sswitch_0
        0x7f0c0309 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03005c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "windowMode"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->j:Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->c()V

    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    const/4 v2, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "-1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-boolean v1, v1, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    if-nez v1, :cond_1

    move v1, v2

    :goto_0
    iput-boolean v1, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->e:Lcom/waiqin365/lightapp/kehu/b/bb;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/bb;->notifyDataSetChanged()V

    return-void

    :cond_1
    move v1, v3

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-boolean v0, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-boolean v1, v1, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    if-nez v1, :cond_3

    move v1, v2

    :goto_2
    iput-boolean v1, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iput-boolean v2, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    goto :goto_1

    :cond_3
    move v1, v3

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iput-boolean v3, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerTypeSelectMultiModeActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/db/cmfilteritem/a;

    iget-boolean v1, v1, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    if-nez v1, :cond_5

    :goto_3
    iput-boolean v2, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    goto :goto_1

    :cond_5
    move v2, v3

    goto :goto_3
.end method
